Skip to content

Conversation

@antonwolfy
Copy link
Contributor

@antonwolfy antonwolfy commented Nov 6, 2025

The PR updates implementation of dpnp.modf to move it from old legacy backend to be part of ufunc and vm extensions.
Also DPNPUnaryTwoOutputsFunc class is extended with support of oneMKL VM functions.

The tests for unary functions with 2 output arrays are separated to dpnp/tests/test_unary_two_outputs_ufuncs.py file.
And the legacy implementation of dpnp.modf was cleaned up.

  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to an issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • Have you made sure that new changes do not introduce compiler warnings?
  • Have you checked performance impact of proposed changes?
  • Have you added documentation for your changes, if necessary?
  • Have you added your changes to the changelog?

@antonwolfy antonwolfy added this to the 0.20.0 release milestone Nov 6, 2025
@antonwolfy antonwolfy self-assigned this Nov 6, 2025
@antonwolfy antonwolfy changed the title Redesigned implementation of dpnp.modf as part of pybind11 extension ufunc Redesigned implementation of dpnp.modf as part of ufunc extension Nov 6, 2025
@coveralls
Copy link
Collaborator

coveralls commented Nov 6, 2025

Coverage Status

coverage: 81.46% (+0.06%) from 81.401%
when pulling 53cc8b5 on impl-modf
into 6f6855b on master.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 6, 2025

View rendered docs @ https://intelpython.github.io/dpnp/index.html

@github-actions
Copy link
Contributor

github-actions bot commented Nov 6, 2025

Array API standard conformance tests for dpnp=0.20.0dev0=py313h509198e_53 ran successfully.
Passed: 1229
Failed: 0
Skipped: 7

@antonwolfy antonwolfy changed the title Redesigned implementation of dpnp.modf as part of ufunc extension Redesigned dpnp.modf function to be a part of ufunc and vm pybind11 extensions Nov 7, 2025
@antonwolfy antonwolfy marked this pull request as ready for review November 7, 2025 14:15
Copy link
Contributor

@vlad-perevezentsev vlad-perevezentsev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job, LGTM
Thank you @antonwolfy

@antonwolfy antonwolfy merged commit 4082593 into master Nov 12, 2025
121 of 123 checks passed
@antonwolfy antonwolfy deleted the impl-modf branch November 12, 2025 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants